import 'package:part_time_job_pro/common/models/part_time_job.dart';

class PartOfferListState {
  late Map<String, dynamic> errorMsg;

  //顶部数据
  final offerStatusList = [
    {"id": 0, "name": "待支付", "count": 0},
    {"id": 1, "name": "待审核", "count": 0},
    {"id": 2, "name": "招聘中", "count": 0},
    {"id": 3, "name": "已下架", "count": 0}
  ];

  //选择状态
  late String selectStatus;
  late int pageNum = 0;
  late List<PartTimeJob> partTimeJobList;

  PartOfferListState() {
    ///Initialize variables
    errorMsg = {};
    selectStatus = "0";
    partTimeJobList = [];
  }
}
